import axios from 'axios'
// 文件列表
export const reqFileList = (data)=>
axios({
  url:'/api/crm/file/condition',
  method:'get',
  params:data
});
// 添加文件
export const reqAddFile = (data)=>
axios({
  url:'/api/crm/file/insert',
  method:'post',
  data:data
});
// 文件上传
export const reqUploadFile = (data)=>
axios({
  url:'/api/file/upload',
  method:'post',
  data:data
});
// 删除文件
export const reqDelFile = (data)=>
axios({
  url:'/api/crm/file/delete',
  method:'delete',
  data:data
});
//导出
export const reqOutPut = (data)=>
axios({
  url:'/api/crm/reimburse-v/excel',
  method:'get',
  params:data
});
// 员工文件列表
export const reqFileRecordList = (data)=>
axios({
  url:'/api/crm/file-record/condition',
  method:'get',
  params:data
});
// 员工文件添加
export const reqUpdateFileRecord = (data)=>
axios({
  url:'/api/crm/file-record/update',
  method:'put',
  data:data
});